package com.jjvu.news.domain;

import com.jjvu.news.dao.Info;
import com.jjvu.news.dao.MaxMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InfoDao {
    List<Info> findInfoListById(int i);

    List<MaxMenu> findMaxMenuList();

    Info findInfoById(Integer info_id);

    void updateHits(Integer info_id);

    List<Info> findAllNewsBy(Info info);
}
